package cn.ck.dao;

import cn.ck.pojo.Supplier;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface SupplierMapper {
    //查询所有供应商
    List<Supplier> findAll();


    //依据编号查询供应商
    @Select("SELECT * FROM t_supplier WHERE supCode=#{supCode}")
    Supplier queryBySupCode(String supCode);

    //查询所有的供应商记录
    List<Supplier> queryAll();



}
